<{include file="Public/top.html" }>
</head>
<body>

<div id="warpper">
    <div class="header clearfix">
        <a href="javascript:void(0);" class="logo f_l"><img src="Public/Admin/img/logo.png" alt="" /></a>
        <div class="info f_r">
            <p><span>欢迎您，<{$user}></span>|<a href="<{u('Public/logout')}>" class="logout">退出</a></p>
            <p></p>
        </div>
    </div>

    <div class="main">
        <!--菜单-->
        <div class="slider">
            <ul>
                <{foreach from=$menus item=menu }>
                <li>
                    <dl>
                        <dt class="<{$menu['class']}>"><{$menu['title']}></dt>
                        <{foreach from=$menu['items'] item=item}>
                        <dd><a href="<{$item[1]}>" target="subContent"><{$item[0]}></a></dd>
                        <{/foreach}>
                    </dl>
                </li>
                <{/foreach}>
            </ul>
        </div>

        <div  id="content" style="position: relative;margin-left: 190px;box-sizing: border-box;" >
            <iframe name="subContent" id="containerFrame" width="100%" height="100%"></iframe>
        </div>
    </div>


</div>
<{include file="Public/foot.html" }>
<script>
    $('#content').height($('html').height());

    $("dt").on('click',function(){
        $(this).nextAll("dd").toggle()
    })
    $(document).ready(function(){
        $('dd').hide();
    })
</script>
</body>
</html>